<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MoneyModel extends CI_Model {

    const  TBL_BATE='relationship';

    function __construct(){
        parent::__construct();
        $this->load->database(); //加载数据库配置
    }

    function getProInfo(){
        return $info=$this->db->get(self::TBL_BATE)->result_array();
    }
}